package com.gxlu.ms.base.module.profile;

/**
 * 统计方法执行时间
 * @author lhc
 * @date 2018/3/16
 *
 */
public class JProfileUtil {

    private static final Long defaultTime = 3000L ;

    public JProfileUtil() {
    }

    public static void start(String message) {
        JProfile.start(message);
    }

    public static void reset() {
        JProfile.release();
        JProfile.reset();
    }

    private static String getDetail() {
        return JProfile.dump("Detail: ", "        ");
    }
}
